﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace DCH.Models
{
   
    [Table("Register")]
    public class Register
    {
        [Key]
        public int ID { get; set; }
        public string ClubName { get; set; }
        public string CaptainName { get; set; }
        public string PlayerName { get; set; }
        public string PlayerSkill { get; set; }
        public string PlayerSquad { get; set; }
        public string Email { get; set; }
        [Required(ErrorMessage = "Phone Number Required!")]
        [RegularExpression(@"^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$", ErrorMessage = "Entered phone format is not valid.")]
        public string Phone { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string TransactionNumber { get; set; }
        public bool Payment { get; set; }
        public string PaymentType { get; set; }
        
        public string Player1Name { get; set; }
        public string Player1Phone { get; set; }
        public string Player1City { get; set; }

        public string Player2Name { get; set; }
        public string Player2Phone { get; set; }
        public string Player2City { get; set; }

        public string Player3Name { get; set; }
        public string Player3Phone { get; set; }
        public string Player3City { get; set; }

        public string Player4Name { get; set; }
        public string Player4Phone { get; set; }
        public string Player4City { get; set; }

        public string Player5Name { get; set; }
        public string Player5Phone { get; set; }
        public string Player5City { get; set; }

        public string Player6Name { get; set; }
        public string Player6Phone { get; set; }
        public string Player6City { get; set; }

        public string Player7Name { get; set; }
        public string Player7Phone { get; set; }
        public string Player7City { get; set; }

        public string Player8Name { get; set; }
        public string Player8Phone { get; set; }
        public string Player8City { get; set; }

        public string Player9Name { get; set; }
        public string Player9Phone { get; set; }
        public string Player9City { get; set; }

        public string Player10Name { get; set; }
        public string Player10Phone { get; set; }
        public string Player10City { get; set; }

        public string Player11Name { get; set; }
        public string Player11Phone { get; set; }
        public string Player11City { get; set; }

        public string Player12Name { get; set; }
        public string Player12Phone { get; set; }
        public string Player12City { get; set; }

        public string Player13Name { get; set; }
        public string Player13Phone { get; set; }
        public string Player13City { get; set; }

        public string Player14Name { get; set; }
        public string Player14Phone { get; set; }
        public string Player14City { get; set; }

        public string Player15Name { get; set; }
        public string Player15Phone { get; set; }
        public string Player15City { get; set; }
        

    }
}